﻿using System;
using System.Web.UI;



namespace mojoPortal.Web.RS.CRM
{
    public partial class RSClientDetail : RSBasePage
    {
        private int _companyid = 0;
        private int _Clientid = 0;

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
        }


        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["Clientid"] != null)
                _Clientid = Convert.ToInt32(Request.QueryString["Clientid"].ToString());

            if (!Page.IsPostBack)
            {
                InitializeReadyServicePage("Client Detail");

                RSUserIdentity userIdentity = GetRSUserIdentity();
                _companyid = userIdentity.RSCompanyId;

                bool bhasdata = ucClientDetailControl.LoadClientData(_companyid, _Clientid);

            }
        }
    }
}


